home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
c
/
tcclib.exe
/
lha
/
ATSAYF.C
< prev
next >
Wrap
C/C++ Source or Header
|
1989-07-18
|
484b
|
26 lines
#include <stdio.h>
unsigned char far *ScrPtr( int x, int y );
void TcclibInitialize( void );
void AtSayF( int col, int row, char *fmt, ... )
{
register unsigned char far *scptr;
char s[240];
register char *cp = s;
va_list argptr;
extern unsigned char attrib;
TcclibInitialize();
va_start( argptr, format );
vsprintf( s, fmt, argptr );
va_end( argptr );
scptr = ScrPtr( col, row );
while (*cp) {
*scptr++ = *cp++;
*scptr++ = attrib;
}
}